package com.ase.单例模式;


import com.ase.单例模式.enums.Singleton;

/**
 * @author gyhstart
 * @create 2021/3/2 - 10:16
 **/
public class test2 {
    public static void main(String[] args) {
        System.out.println("Singleton.INSTANCE.getValue() = " + Singleton.INSTANCE.getValue());
        Singleton.INSTANCE.setValue(2);
        System.out.println("Singleton.INSTANCE.getValue() = " + Singleton.INSTANCE.getValue());
    }
}
